home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
ARGONET
/
PD
/
PROGRAMMING
/
DESKLIBC
/
SOURCES.ZIP
/
DeskLib
/
!DLSources
/
Libraries
/
Icon
/
c
/
SetRadios
< prev
next >
Wrap
Text File
|
1995-07-08
|
652b
|
18 lines
#include "DeskLib:Wimp.h"
#include "DeskLib:WimpSWIs.h"
#include "DeskLib:Icon.h"
extern void Icon_SetRadios(window_handle window,
icon_handle first, icon_handle last,
icon_handle onradio)
/*
* Pass in a group of icons (specified by lowest-numbered icon and
* highest-numbered icon), and the icon from this group that you want
* selected. All icons except the one you want selected will be deselected.
*/
{
while (first <= last)
Icon_Deselect(window, first++); /* Turn off all between first,last */
Icon_Select(window, onradio); /* Turn on the requested one */
}